<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ page import="net.board.db.*" %>
<%
	BoardBean board=(BoardBean)request.getAttribute("boarddata");
	int number=((Integer)request.getAttribute("number")).intValue();
	String Mem_Nick = (String)session.getAttribute("Mem_Nick");
	System.out.println("관리자번호:"+number);
%>
<style>
#maindiv{margin: 0 auto; width:700px; height:350px; border:1px solid #e6e6e6; }
#underdiv{
		  position:static; 
		  width:670px; 
		  height:1px; 
		  font-size:8px;
		  border-bottom: 1px solid #e6e6e6; 
		  border-bottom-style: dashed;
		 }
#underdiv2{
		  position:static;
		  font-size:6px;
		  height:1px;
		  border-style: hidden;
		 }
#gap{
		  position: static;
		  font-size:12px;
}
</style>
<html>
<head>
	<title>MVC 게시판</title>
<script language="javascript">
	function replyboard(){
		$("#boardform").submit();
	}
</script>
</head>
<body>
<!-- 게시판 답변 -->
<form action="./BoardReplyView.bo?" method="post" id="boardform">
<div id="maindiv">
<input type="hidden" name="qna_Nick" value="<%=Mem_Nick %>">
<input type="hidden" name="number" value="3">
<input type="hidden" name="ID" value="<%=board.getID() %>">
<input type="hidden" name="QNA_REF" value="<%=board.getQNA_REF() %>">
<input type="hidden" name="QNA_LEV" value="<%=board.getQNA_LEV() %>">
<input type="hidden" name="QNA_SEQ" value="<%=board.getQNA_SEQ() %>">

<table cellpadding="0" cellspacing="0" width="670" align="center">
	<tr>
		<td style="font-family:HY신명조; font-size:12; background-color: #0f89d2;" height="16">
			<div align="center">글쓴이</div>
		</td>
		<td>&nbsp;
			<%=Mem_Nick %>
		</td>
	</tr>
	<tr bgcolor="cccccc">
		<td colspan="2" style="height:1px;"></td>
	</tr>
	<tr>
		<td style="font-family:HY신명조; font-size:12; background-color: #0f89d2;" height="16">
			<div align="center">제 목</div>
		</td>
		<td>&nbsp;
			<input name="QNA_SUBJECT" type="text" size="91" 
				maxlength="100" value="<%=board.getQNA_SUBJECT() %>"/>
		</td>
	</tr>
	<tr bgcolor="cccccc">
		<td colspan="2" style="height:1px;"></td>
	</tr>
	<tr>
		<td style="font-family:HY신명조; font-size:12; background-color: #0f89d2;" height="16">
			<div align="center">내 용</div>
		</td>
		<td>&nbsp;
			<textarea name="QNA_CONTENT" cols="72" rows="15"></textarea>
		</td>
	</tr>
	<tr bgcolor="cccccc">
		<td colspan="2" style="height:1px;"></td>
	</tr>
	<div align="center" style="margin-left:  20px"></div>
	<tr>
		<td style="font-family:HY신명조; font-size:12; background-color: #0f89d2;" height="16">
			<div align="center">비밀번호</div>
		</td>
		<td>&nbsp;
			<input name="QNA_PASS" type="password">
		</td>
	</tr>
	
	<tr bgcolor="cccccc">
		<td colspan="2" style="height:1px;"></td>
	</tr>
	<tr><td colspan="2">&nbsp;</td></tr>
	
	<tr align="center" valign="middle">
		<td colspan="5">
		<a href="javascript:replyboard()">[등록]</a>&nbsp;&nbsp;
		<a href="javascript:history.go(-1)">[뒤로]</a>
		</td>
	</tr>
</table>
</div>
</form>
<!-- 게시판 답변 -->
</body>
</html>